package com.BetterBangalore.model
{
	[Bindable]
	public class BBModel
	{
		
		private static var instance : BBModel;
		
		public var user:Object;
		
		/**
		 * Get an instance of the DataManager.
		 */ 
		public static function getInstance() : BBModel
		{
			if ( instance == null )
			{
				instance = new BBModel();
			}
			return instance;
		}
		
		public function BBModel()
		{
			if ( instance != null )
			{
				throw new Error("Private constructor. Use getIntance() instead.");	
			}
		}
	}
}